package demo4;

import javax.xml.bind.SchemaOutputResolver;

public class Fish extends Animals implements ISwimming{
    public Fish(String name) {
        super(name);
    }

    @Override
    public void swim() {
        System.out.println("鱼正在游泳");
    }
}
